import NewLayout from '@/newlayout'

export const newuserRouterChildren = [
  //用户
  //  顺德3.0
  {
    path: '/',
    redirect: '/work',
  },
  {
    path: '/work',
    component: NewLayout,
    meta: { title: '工作', icon: '9' },
    children: [{
      path: '/work',
      component: () =>
        import('@/views/administrators/work/index.vue'),
      // meta: {title: '工作', icon: '9'},
    }, {
      path: '/workCompany',
      component: () =>
        import('@/views/administrators/work/workCompany.vue'),
      meta: { title: '企业排行榜', icon: '9' },
    }, {
      path: '/workWarning',
      component: () =>
        import('@/views/administrators/work/workWarning.vue'),
      meta: { title: '企业预警', icon: '9' },
    }, {
      path: '/workTobear',
      component: () =>
        import('@/views/administrators/work/workTobear.vue'),
      meta: { title: '企业分级管理', icon: '9' },
    }, {
      path: '/workFollow',
      component: () =>
        import('@/views/administrators/work/workFollow.vue'),
      meta: { title: '待跟进', icon: '9' },
    }, {
      path: '/workVisit',
      component: () =>
        import('@/views/administrators/work/workVisit.vue'),
      meta: { title: '走访跟进', icon: '9' },
    },
    {
      path: '/workVisit/details',
      component: () => import('@/views/administrators/work/components/litigation/details'),
      meta: { title: '诉讼详情', icon: '9' },
      hidden: true,
    },
    {
      path: '/workCalendar',
      component: () =>
        import('@/views/administrators/work/workCalendar.vue'),
      meta: { title: '走访记录', icon: '9' },
    }, {
      path: '/workWaitvisit',
      component: () =>
        import('@/views/administrators/work/workWaitvisit.vue'),
      meta: { title: '工作日历', icon: '9' },
    },{
      path: '/workWaitvisit2',
      component: () =>
        import('@/views/administrators/work/workWaitvisit2.vue'),
      meta: { title: '走访记录', icon: '9' },
    },{
      path: '/workWaitvisit3',
      component: () =>
        import('@/views/administrators/work/workWaitvisit3.vue'),
      meta: { title: '需求记录', icon: '9' },
    }, {
      path: '/addWaitvisit',
      component: () =>
        import('@/views/administrators/work/components/addWaitvisit.vue'),
      meta: { title: '发起待走访', icon: '9' },
    }, {
      path: '/workEnterprisevisit',
      component: () =>
        import('@/views/administrators/work/workEnterprisevisit.vue'),
      meta: { title: '企业走访', icon: '9' },
    },
    {
      path: '/companyDetails',
      component: () =>
        import('@/views/administrators/work/components/companyDetails.vue'),
      meta: { title: '公司管理', icon: '9' },
    },{
      path: '/addDemand',
      component: () =>
        import('@/views/administrators/work/components/addDemand.vue'),
      meta: { title: '添加需求', icon: '9' },
    },],
    hidden: true
  },
  {
    path: '/AdvancedSearch',
    component: NewLayout,
    children: [
      {
        path: '/AdvancedSearch',
        component: () => import('@/views/administrators/AdvancedSearch/AdvancedSearch.vue'),
        meta: { title: '检索', serve: false },
        hidden: true
      }
    ],
    hidden: true
  },
  {
    path: '/shundeSearchNew',
    component: NewLayout,
    children: [
      {
        path: '/shundeSearchNew',
        component: () => import('@/views/administrators/dockingNew/docking.vue'),
        meta: { title: '普通搜索', serve: false },
        hidden: true
      }
    ],
    hidden: true
  },
  {
    path: '/honor',
    component: NewLayout,
    children: [{
      path: '/honor',
      component: () =>
        import('@/views/administrators/honor/honor.vue'),
      meta: { title: '企业荣誉', icon: '9' },
    },],
    hidden: true
  },
  {
    path: '/NewupPwd',
    is_admin_view: 0,
    component: NewLayout,
    children: [
      {
        path: '/NewupPwd',
        hidden: true,
        component: () => import('@/views/public/NewupPwd.vue'),
        meta: { title: '修改密码', icon: '11' },
      },
    ]
  },
]
